package smashedapples.events
{
	import flash.events.Event;
	
	import smashedapples.core.ValueObject;

	public class ValueObjectEvent extends Event
	{	
		public static const SET : String = "set";
		
		public function ValueObjectEvent(type:String, object:ValueObject, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.object = object;
		}
		
		public var object : ValueObject
		
		override public function clone():Event
		{
			return new ValueObjectEvent(type,object,bubbles,cancelable);
		}
		
	}
}